//
//  AreaFirstCell.m
//  住房条件帅选器
//
//  Created by MB__Lee on 2018/5/16.
//  Copyright © 2018年 MB__Lee. All rights reserved.
//

#import "AreaFirstCell.h"

@interface AreaFirstCell()

@property (weak, nonatomic) IBOutlet UILabel *nameLabel;

@end


@implementation AreaFirstCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

-(void)setRootModel:(ArRootModel *)rootModel{
    [super setRootModel:rootModel];
    self.nameLabel.text = rootModel.name;
}
    

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    
    if (selected) {
        self.nameLabel.textColor  = MB_RGBA(63, 171, 250, 1.0);
    }else if (!selected){
        self.nameLabel.textColor = MB_RGBA(51, 51, 51, 1.0);
    }
    
}

@end
